import type { Component } from 'vue'

// 基础类型定义
export type ContactStatus = 'online' | 'away' | 'busy' | 'offline'
export type ContactType = 'friend' | 'group'
export type ButtonVariant = 'primary' | 'success' | 'info' | 'warning' | 'secondary' | 'danger'
export type ButtonSize = 'small' | 'medium' | 'large'

// 接口定义
export interface Contact {
  id: string
  name: string
  avatar: string
  status: ContactStatus
  lastMessage?: string
  type: ContactType
}

export interface ContactCategory {
  type: string
  name: string
  icon: Component
  count: number
}
